package com.dofast.bt.base;

import android.util.Log;

import com.dofast.bt.bean.AttentionBean;
import com.dofast.bt.bean.EnjoyBean;
import com.dofast.bt.bean.GoodsBean;
import com.dofast.bt.bean.ShopBean;
import com.dofast.bt.bean.ShoppingCartBean;

import org.xutils.ex.DbException;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2016/12/7 0007.
 */

public class BaseDate {
    public BaseDate() {
        try {
            initShop();
            initGoods();
            initAttention();
            initEnjoy();
            initCar();
        } catch (DbException e) {
            e.printStackTrace();
        }

    }

    private void initCar() throws DbException {
        ShoppingCartBean shoppingCartBean = new ShoppingCartBean();
        shoppingCartBean.setSpId(1);
        shoppingCartBean.setGoodsId(10);
        shoppingCartBean.setNum(10);
        BaseApplication.getDbManager().save(shoppingCartBean);
    }

    private void initEnjoy() throws DbException {
        EnjoyBean eb = new EnjoyBean();
        eb.setEnjoyId(1);
        eb.setGoodsId(10);
        BaseApplication.getDbManager().save(eb);
    }

    private void initAttention() throws DbException {
        AttentionBean ab = new AttentionBean();
        ab.setaId(1);
        ab.setShopId(1);
        BaseApplication.getDbManager().save(ab);

        AttentionBean ab2 = new AttentionBean();
        ab2.setaId(2);
        ab2.setShopId(2);
        BaseApplication.getDbManager().save(ab2);

        AttentionBean ab3 = new AttentionBean();
        ab3.setaId(3);
        ab3.setShopId(3);
        BaseApplication.getDbManager().save(ab3);

        AttentionBean ab4 = new AttentionBean();
        ab4.setaId(4);
        ab4.setShopId(4);
        BaseApplication.getDbManager().save(ab4);

        AttentionBean ab5 = new AttentionBean();
        ab5.setaId(5);
        ab5.setShopId(5);
        BaseApplication.getDbManager().save(ab5);

        AttentionBean ab6 = new AttentionBean();
        ab6.setaId(6);
        ab6.setShopId(6);
        BaseApplication.getDbManager().save(ab6);

        AttentionBean ab7 = new AttentionBean();
        ab7.setaId(7);
        ab7.setShopId(7);
        BaseApplication.getDbManager().save(ab7);

    }

    private void initShop() throws DbException {
        ShopBean shop1 = new ShopBean();
        shop1.setShopId(1);
        shop1.setName("意味茶馆");
        shop1.setContent("七泡余香铁观音，\n婷袅佳人扶古琴；\n茗阳亭内八方客，\n千年古韵沁人心。");
        shop1.setConcerns(688);
        shop1.setFlag("茶包");
        shop1.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/1%402x.png");
        shop1.setImg_bg("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/b1%402x.png");

        ShopBean shop2 = new ShopBean();
        shop2.setShopId(2);
        shop2.setName("味之源茶庄");
        shop2.setContent("铁色皱皮带志霜，\n含英咀美入诗肠。\n舌根未得天真味，\n鼻观先闻圣妙香");
        shop2.setConcerns(796);
        shop2.setFlag("摆件、茶具");
        shop2.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/2%402x.png");
        shop2.setImg_bg("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/b2%402x.png");

        ShopBean shop3 = new ShopBean();
        shop3.setShopId(3);
        shop3.setName("茶两口");
        shop3.setContent("安溪竞说铁观音，露叶疑传紫竹林。  \n一种清芬忘不得，参禅同证木犀心。");
        shop3.setConcerns(995);
        shop3.setFlag("茶包、茶具");
        shop3.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/3%402x.png");
        shop3.setImg_bg("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/b3%402x.png");

        ShopBean shop4 = new ShopBean();
        shop4.setShopId(4);
        shop4.setName("育新茗茶");
        shop4.setContent("汤色多黄浓艳似琥珀，\n有天然馥郁的兰花香，\n滋味醇厚甘鲜，回甘悠久，\n俗称有“音韵”。\n茶音高而持久，\n可谓“七泡有余香”");
        shop4.setConcerns(354);
        shop4.setFlag("茶包、茶具、摆件");
        shop4.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/4%402x.png");
        shop4.setImg_bg("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/b4%402x.png");

        ShopBean shop5 = new ShopBean();
        shop5.setShopId(5);
        shop5.setName("春轩唐茶馆");
        shop5.setContent("生活是一杯没注水的铁观音，\n人的感情是那等待被注入的水，\n只不过人各有不同，水温亦然。\n这样的茶放在心里，\n滋味肯定也是复杂难辨吧！");
        shop5.setConcerns(125);
        shop5.setFlag("摆件");
        shop5.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/5%402x.png");
        shop5.setImg_bg("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/b5%402x.png");

        ShopBean shop6 = new ShopBean();
        shop6.setShopId(6);
        shop6.setName("芳如故茶庄");
        shop6.setContent("汤色多黄浓艳似琥珀，\n" +
                "有天然馥郁的兰花香，\n" +
                "滋味醇厚甘鲜，回甘悠久，\n" +
                "俗称有“音韵”。\n" +
                "茶音高而持久，\n" +
                "可谓“七泡有余香”");
        shop6.setConcerns(364);
        shop6.setFlag("茶具、摆件");
        shop6.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/6%402x.png");
        shop6.setImg_bg("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/b3%402x.png");

        ShopBean shop7 = new ShopBean();
        shop7.setShopId(7);
        shop7.setName("古秋魁");
        shop7.setContent("安溪竞说铁观音，露叶疑传紫竹林。  \n" +
                "一种清芬忘不得，参禅同证木犀心。");
        shop7.setConcerns(876);
        shop7.setFlag("茶包、茶具、摆件");
        shop7.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/7%402x.png");
        shop7.setImg_bg("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/b7%402x.png");
        List<ShopBean> list = new ArrayList<ShopBean>();
        list.add(shop1);
        list.add(shop2);
        list.add(shop3);
        list.add(shop4);
        list.add(shop5);
        list.add(shop6);
        list.add(shop7);

        BaseApplication.getDbManager().save(list);
    }

    private void initGoods() throws DbException {
        //茶包
        GoodsBean gb1 = new GoodsBean();
        gb1.setGoodsId(1);
        gb1.setName("秋茶茶包");
        gb1.setShopId(1);
        gb1.setContent("铁观音是乌龙茶的极品\n其品质特征是：\n茶条郑曲，肥壮圆结，\n沉重匀整，色泽砂绿，\n整体形状似晴蜓头，螺旋体，青蛙腿。");
        gb1.setFlagId(4);
        gb1.setPrice(58);
        gb1.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%8C%85/g1%402x.png");
        gb1.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%8C%85/d1%402x.png");
        BaseApplication.getDbManager().save(gb1);

        GoodsBean gb2 = new GoodsBean();
        gb2.setGoodsId(2);
        gb2.setName("桂花乌龙组合");
        gb2.setShopId(1);
        gb2.setContent("铁观音是乌龙茶的极品\n" +
                "其品质特征是：\n" +
                "茶条郑曲，肥壮圆结，\n" +
                "沉重匀整，色泽砂绿，\n" +
                "整体形状似晴蜓头，螺旋体，青蛙腿。");
        gb2.setFlagId(4);
        gb2.setPrice(36);
        gb2.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%8C%85/g2%402x.png");
        gb2.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%8C%85/d2%402x.png");
        BaseApplication.getDbManager().save(gb2);

        GoodsBean gb3 = new GoodsBean();
        gb3.setGoodsId(3);
        gb3.setName("綠茶包");
        gb3.setShopId(1);
        gb3.setContent("安溪奇茗铁观音，\n敬饮一杯情意深；\n心性修身养俭德，\n侨乡茶地结良缘。\n乌龙品色比优美，\n珍贵名种齐振兴；\n莫忘传经植艺者，\n神香禅味留人间。");
        gb3.setFlagId(4);
        gb3.setPrice(58);
        gb3.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%8C%85/g3%402x.png");
        gb3.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%8C%85/d3%402x.png");
        BaseApplication.getDbManager().save(gb3);

        GoodsBean gb4 = new GoodsBean();
        gb4.setGoodsId(4);
        gb4.setName("玫瑰红茶茶包");
        gb4.setShopId(1);
        gb4.setContent("“三行情书”红螺寺的祈福短信：情起；\n铁观音的茶香浸透茶杯：情深；\n归期至，似箭弦，心如麻：情别。");
        gb4.setFlagId(4);
        gb4.setPrice(58);
        gb4.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%8C%85/g4%402x.png");
        gb4.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%8C%85/d4%402x.png");
        BaseApplication.getDbManager().save(gb4);

        GoodsBean gb5 = new GoodsBean();
        gb5.setGoodsId(5);
        gb5.setName("茉莉绿茶茶包");
        gb5.setShopId(1);
        gb5.setContent("七泡余香铁观音，\n婷袅佳人扶古琴；\n茗阳亭内八方客，\n千年古韵沁人心。");
        gb5.setFlagId(4);
        gb5.setPrice(58);
        gb5.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%8C%85/g5%402x.png");
        gb5.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%8C%85/d5%402x.png");
        BaseApplication.getDbManager().save(gb5);

        //摆件
        GoodsBean gb6 = new GoodsBean();
        gb6.setGoodsId(6);
        gb6.setName("乌龟茶玩摆件");
        gb6.setShopId(2);
        gb6.setContent("七泡余香铁观音，\n" +
                "婷袅佳人扶古琴；\n" +
                "茗阳亭内八方客，\n" +
                "千年古韵沁人心。");
        gb6.setFlagId(5);
        gb6.setPrice(38);
        gb6.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E6%91%86%E4%BB%B6/g1%402x.png");
        gb6.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E6%91%86%E4%BB%B6/d1%402x.png");
        BaseApplication.getDbManager().save(gb6);

        GoodsBean gb7 = new GoodsBean();
        gb7.setGoodsId(7);
        gb7.setName("树叶形杯垫");
        gb7.setShopId(2);
        gb7.setContent("“三行情书”红螺寺的祈福短信：情起；\n" +
                "铁观音的茶香浸透茶杯：情深；\n" +
                "归期至，似箭弦，心如麻：情别。");
        gb7.setFlagId(5);
        gb7.setPrice(5);
        gb7.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E6%91%86%E4%BB%B6/g2%402x.png");
        gb7.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E6%91%86%E4%BB%B6/d2%402x.png");
        BaseApplication.getDbManager().save(gb7);

        GoodsBean gb8 = new GoodsBean();
        gb8.setGoodsId(8);
        gb8.setName("新款青瓷茶叶罐");
        gb8.setShopId(2);
        gb8.setContent("七泡余香铁观音，\n" +
                "婷袅佳人扶古琴；\n" +
                "茗阳亭内八方客，\n" +
                "千年古韵沁人心。");
        gb8.setFlagId(5);
        gb8.setPrice(68);
        gb8.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E6%91%86%E4%BB%B6/g3%402x.png");
        gb8.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E6%91%86%E4%BB%B6/d3%402x.png");
        BaseApplication.getDbManager().save(gb8);

        GoodsBean gb9 = new GoodsBean();
        gb9.setGoodsId(9);
        gb9.setName("茶宠摆件");
        gb9.setShopId(2);
        gb9.setContent("七泡余香铁观音，\n" +
                "婷袅佳人扶古琴；\n" +
                "茗阳亭内八方客，\n" +
                "千年古韵沁人心。");
        gb9.setFlagId(5);
        gb9.setPrice(58);
        gb9.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E6%91%86%E4%BB%B6/g4%402x.png");
        gb9.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E6%91%86%E4%BB%B6/d4%402x.png");
        BaseApplication.getDbManager().save(gb9);

        GoodsBean gb10 = new GoodsBean();
        gb10.setGoodsId(10);
        gb10.setName("小雕塑初禅·思");
        gb10.setShopId(4);
        gb10.setContent("铁观音是乌龙茶的极品\n" +
                "其品质特征是：\n" +
                "茶条郑曲，肥壮圆结，\n" +
                "沉重匀整，色泽砂绿，\n" +
                "整体形状似晴蜓头，螺旋体，青蛙腿。");
        gb10.setFlagId(5);
        gb10.setPrice(145);
        gb10.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E6%91%86%E4%BB%B6/g5%402x.png");
        gb10.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E6%91%86%E4%BB%B6/d5%402x.png");
        BaseApplication.getDbManager().save(gb10);

        //茶具
        GoodsBean gb11 = new GoodsBean();
        gb11.setGoodsId(11);
        gb11.setName("梅花落");
        gb11.setShopId(3);
        gb11.setContent("铁观音是乌龙茶的极品\n其品质特征是：\n茶条郑曲，肥壮圆结，\n沉重匀整，色泽砂绿，\n整体形状似晴蜓头，螺旋体，青蛙腿。");
        gb11.setFlagId(3);
        gb11.setPrice(38);
        gb11.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%85%B7/g1%402x.png");
        gb11.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%85%B7/d1%402x.png");
        BaseApplication.getDbManager().save(gb11);

        GoodsBean gb12 = new GoodsBean();
        gb12.setGoodsId(12);
        gb12.setName("怀古豆浆釉");
        gb12.setShopId(6);
        gb12.setContent("安溪奇茗铁观音，敬饮一杯情意深；\n心性修身养俭德，侨乡茶地结良缘。\n乌龙品色比优美，珍贵名种齐振兴；\n莫忘传经植艺者，神香禅味留人间。");
        gb12.setFlagId(3);
        gb12.setPrice(36);
        gb12.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%85%B7/g2%402x.png");
        gb12.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%85%B7/d2%402x.png");
        BaseApplication.getDbManager().save(gb12);

        GoodsBean gb13 = new GoodsBean();
        gb13.setGoodsId(13);
        gb13.setName("套餐快侠杯");
        gb13.setShopId(7);
        gb13.setContent("安溪奇茗铁观音，敬饮一杯情意深；\n心性修身养俭德，侨乡茶地结良缘。\n乌龙品色比优美，珍贵名种齐振兴；\n莫忘传经植艺者，神香禅味留人间。");
        gb13.setFlagId(3);
        gb13.setPrice(58);
        gb13.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%85%B7/g3%402x.png");
        gb13.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%85%B7/d3%402x.png");
        BaseApplication.getDbManager().save(gb13);

        GoodsBean gb14 = new GoodsBean();
        gb14.setGoodsId(14);
        gb14.setName("茶滤汉风茗器");
        gb14.setShopId(7);
        gb14.setContent("“三行情书”红螺寺的祈福短信：情起；\n铁观音的茶香浸透茶杯：情深；\n归期至，似箭弦，心如麻：情别。");
        gb14.setFlagId(3);
        gb14.setPrice(58);
        gb14.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%85%B7/g4%402x.png");
        gb14.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%85%B7/d4%402x.png");
        BaseApplication.getDbManager().save(gb14);

        GoodsBean gb15 = new GoodsBean();
        gb15.setGoodsId(15);
        gb15.setName("茉莉绿茶茶包");
        gb15.setShopId(3);
        gb15.setContent("七泡余香铁观音，\n婷袅佳人扶古琴；\n茗阳亭内八方客，\n千年古韵沁人心。");
        gb15.setFlagId(2);
        gb15.setPrice(58);
        gb15.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%8C%85/g5%402x.png");
        gb15.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%8C%85/d5%402x.png");
        BaseApplication.getDbManager().save(gb15);
        //推荐
        GoodsBean gb16 = new GoodsBean();
        gb16.setGoodsId(16);
        gb16.setName("秋茶茶包");
        gb16.setShopId(7);
        gb16.setContent("铁观音是乌龙茶的极品\n其品质特征是：\n茶条郑曲，肥壮圆结，\n沉重匀整，色泽砂绿，\n整体形状似晴蜓头，螺旋体，青蛙腿。");
        gb16.setFlagId(2);
        gb16.setPrice(58);
        gb16.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%8C%85/g1%402x.png");
        gb16.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%8C%85/d1%402x.png");
        BaseApplication.getDbManager().save(gb16);

        GoodsBean gb17 = new GoodsBean();
        gb17.setGoodsId(17);
        gb17.setName("茉莉绿茶茶包");
        gb17.setShopId(7);
        gb17.setContent("七泡余香铁观音，\n婷袅佳人扶古琴；\n茗阳亭内八方客，\n千年古韵沁人心。");
        gb17.setFlagId(1);
        gb17.setPrice(58);
        gb17.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%8C%85/g5%402x.png");
        gb17.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%8C%85/d5%402x.png");
        BaseApplication.getDbManager().save(gb17);

        GoodsBean gb18 = new GoodsBean();
        gb18.setGoodsId(18);
        gb18.setName("怀古豆浆釉");
        gb18.setShopId(1);
        gb18.setContent("安溪奇茗铁观音，敬饮一杯情意深；\n心性修身养俭德，侨乡茶地结良缘。\n乌龙品色比优美，珍贵名种齐振兴；\n莫忘传经植艺者，神香禅味留人间。");
        gb18.setFlagId(1);
        gb18.setPrice(36);
        gb18.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%85%B7/g2%402x.png");
        gb18.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%85%B7/d2%402x.png");
        BaseApplication.getDbManager().save(gb18);

        GoodsBean gb19 = new GoodsBean();
        gb19.setGoodsId(19);
        gb19.setName("秋茶茶包");
        gb19.setShopId(6);
        gb19.setContent("铁观音是乌龙茶的极品\n其品质特征是：\n茶条郑曲，肥壮圆结，\n沉重匀整，色泽砂绿，\n整体形状似晴蜓头，螺旋体，青蛙腿。");
        gb19.setFlagId(1);
        gb19.setPrice(58);
        gb19.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%8C%85/g1%402x.png");
        gb19.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%8C%85/d1%402x.png");
        BaseApplication.getDbManager().save(gb19);

        GoodsBean gb20 = new GoodsBean();
        gb20.setGoodsId(20);
        gb20.setName("套餐快侠杯");
        gb20.setShopId(3);
        gb20.setContent("安溪奇茗铁观音，敬饮一杯情意深；\n心性修身养俭德，侨乡茶地结良缘。\n乌龙品色比优美，珍贵名种齐振兴；\n莫忘传经植艺者，神香禅味留人间。");
        gb20.setFlagId(1);
        gb20.setPrice(58);
        gb20.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%85%B7/g3%402x.png");
        gb20.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%85%B7/d3%402x.png");
        BaseApplication.getDbManager().save(gb20);

        //最受欢迎
        GoodsBean gb21 = new GoodsBean();
        gb21.setGoodsId(21);
        gb21.setName("乌龟茶玩摆件");
        gb21.setShopId(5);
        gb21.setContent("七泡余香铁观音，\n" +
                "婷袅佳人扶古琴；\n" +
                "茗阳亭内八方客，\n" +
                "千年古韵沁人心。");
        gb21.setFlagId(2);
        gb21.setPrice(38);
        gb21.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E6%91%86%E4%BB%B6/g1%402x.png");
        gb21.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E6%91%86%E4%BB%B6/d1%402x.png");
        BaseApplication.getDbManager().save(gb21);

        GoodsBean gb22 = new GoodsBean();
        gb22.setGoodsId(22);
        gb22.setName("茶滤汉风茗器");
        gb22.setShopId(4);
        gb22.setContent("铁观音是乌龙茶的极品\n其品质特征是：\n茶条郑曲，肥壮圆结，\n沉重匀整，色泽砂绿，\n整体形状似晴蜓头，螺旋体，青蛙腿。");
        gb22.setFlagId(1);
        gb22.setPrice(58);
        gb22.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%85%B7/g4%402x.png");
        gb22.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%85%B7/d4%402x.png");
        BaseApplication.getDbManager().save(gb22);

        GoodsBean gb23 = new GoodsBean();
        gb23.setGoodsId(23);
        gb23.setName("茶滤汉风茗器");
        gb23.setShopId(3);
        gb23.setContent("“三行情书”红螺寺的祈福短信：情起；\n铁观音的茶香浸透茶杯：情深；\n归期至，似箭弦，心如麻：情别。");
        gb23.setFlagId(2);
        gb23.setPrice(58);
        gb23.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%85%B7/g4%402x.png");
        gb23.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%85%B7/d4%402x.png");
        BaseApplication.getDbManager().save(gb23);

        GoodsBean gb24 = new GoodsBean();
        gb24.setGoodsId(24);
        gb24.setName("茉莉绿茶茶包");
        gb24.setShopId(4);
        gb24.setContent("七泡余香铁观音，\n婷袅佳人扶古琴；\n茗阳亭内八方客，\n千年古韵沁人心。");
        gb24.setFlagId(2);
        gb24.setPrice(58);
        gb24.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%8C%85/g5%402x.png");
        gb24.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6%E5%8C%85/d5%402x.png");
        BaseApplication.getDbManager().save(gb24);

        GoodsBean gb25 = new GoodsBean();
        gb25.setGoodsId(25);
        gb25.setName("小雕塑初禅·思");
        gb25.setShopId(2);
        gb25.setContent("铁观音是乌龙茶的极品\n" +
                "其品质特征是：\n" +
                "茶条郑曲，肥壮圆结，\n" +
                "沉重匀整，色泽砂绿，\n" +
                "整体形状似晴蜓头，螺旋体，青蛙腿。");
        gb25.setFlagId(2);
        gb25.setPrice(145);
        gb25.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E6%91%86%E4%BB%B6/g5%402x.png");
        gb25.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E6%91%86%E4%BB%B6/d5%402x.png");
        BaseApplication.getDbManager().save(gb25);
        //铁观音
        GoodsBean gb26 = new GoodsBean();
        gb26.setGoodsId(26);
        gb26.setName("铁观音250g");
        gb26.setShopId(6);
        gb26.setContent("铁观音是乌龙茶的极品\n" +
                "其品质特征是：\n" +
                "茶条郑曲，肥壮圆结，\n" +
                "沉重匀整，色泽砂绿，\n" +
                "整体形状似晴蜓头，螺旋体，青蛙腿。");
        gb26.setFlagId(11);
        gb26.setPrice(325);
        gb26.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/tieguanyin%402x.png");
        gb26.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/tieguanyinD%402x.png");
        BaseApplication.getDbManager().save(gb26);
        //铁观音
        GoodsBean gb261 = new GoodsBean();
        gb261.setGoodsId(261);
        gb261.setName("铁观音250g");
        gb261.setShopId(1);
        gb261.setContent("铁观音是乌龙茶的极品\n" +
                "其品质特征是：\n" +
                "茶条郑曲，肥壮圆结，\n" +
                "沉重匀整，色泽砂绿，\n" +
                "整体形状似晴蜓头，螺旋体，青蛙腿。");
        gb261.setFlagId(11);
        gb261.setPrice(300);
        gb261.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/tieguanyin%402x.png");
        gb261.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/tieguanyinD%402x.png");
        BaseApplication.getDbManager().save(gb261);
        //铁观音
        GoodsBean gb262 = new GoodsBean();
        gb262.setGoodsId(262);
        gb262.setName("铁观音250g");
        gb262.setShopId(3);
        gb262.setContent("铁观音是乌龙茶的极品\n" +
                "其品质特征是：\n" +
                "茶条郑曲，肥壮圆结，\n" +
                "沉重匀整，色泽砂绿，\n" +
                "整体形状似晴蜓头，螺旋体，青蛙腿。");
        gb262.setFlagId(11);
        gb262.setPrice(380);
        gb262.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/tieguanyin%402x.png");
        gb262.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/tieguanyinD%402x.png");
        BaseApplication.getDbManager().save(gb262);
        //铁观音
        GoodsBean gb263 = new GoodsBean();
        gb263.setGoodsId(263);
        gb263.setName("铁观音250g");
        gb263.setShopId(2);
        gb263.setContent("铁观音是乌龙茶的极品\n" +
                "其品质特征是：\n" +
                "茶条郑曲，肥壮圆结，\n" +
                "沉重匀整，色泽砂绿，\n" +
                "整体形状似晴蜓头，螺旋体，青蛙腿。");
        gb263.setFlagId(11);
        gb263.setPrice(320);
        gb263.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/tieguanyin%402x.png");
        gb263.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/tieguanyinD%402x.png");
        BaseApplication.getDbManager().save(gb263);
        //铁观音
        GoodsBean gb264 = new GoodsBean();
        gb264.setGoodsId(264);
        gb264.setName("铁观音250g");
        gb264.setShopId(4);
        gb264.setContent("铁观音是乌龙茶的极品\n" +
                "其品质特征是：\n" +
                "茶条郑曲，肥壮圆结，\n" +
                "沉重匀整，色泽砂绿，\n" +
                "整体形状似晴蜓头，螺旋体，青蛙腿。");
        gb264.setFlagId(11);
        gb264.setPrice(325);
        gb264.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/tieguanyin%402x.png");
        gb264.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/tieguanyinD%402x.png");
        BaseApplication.getDbManager().save(gb264);
        //红茶
        GoodsBean gb27 = new GoodsBean();
        gb27.setGoodsId(27);
        gb27.setName("安溪浓香发酵红茶250g");
        gb27.setShopId(7);
        gb27.setContent("安溪奇茗铁观音，敬饮一杯情意深；\n" +
                "心性修身养俭德，侨乡茶地结良缘。\n" +
                "乌龙品色比优美，珍贵名种齐振兴；\n" +
                "莫忘传经植艺者，神香禅味留人间。");
        gb27.setFlagId(12);
        gb27.setPrice(350);
        gb27.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/hongcha%402x.png");
        gb27.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/hongchaD%402x.png");
        BaseApplication.getDbManager().save(gb27);

        //红茶
        GoodsBean gb271 = new GoodsBean();
        gb271.setGoodsId(271);
        gb271.setName("安溪浓香发酵红茶250g");
        gb271.setShopId(1);
        gb271.setContent("安溪奇茗铁观音，敬饮一杯情意深；\n" +
                "心性修身养俭德，侨乡茶地结良缘。\n" +
                "乌龙品色比优美，珍贵名种齐振兴；\n" +
                "莫忘传经植艺者，神香禅味留人间。");
        gb271.setFlagId(12);
        gb271.setPrice(370);
        gb271.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/hongcha%402x.png");
        gb271.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/hongchaD%402x.png");
        BaseApplication.getDbManager().save(gb271);

        //红茶
        GoodsBean gb272 = new GoodsBean();
        gb272.setGoodsId(272);
        gb272.setName("安溪浓香发酵红茶250g");
        gb272.setShopId(2);
        gb272.setContent("安溪奇茗铁观音，敬饮一杯情意深；\n" +
                "心性修身养俭德，侨乡茶地结良缘。\n" +
                "乌龙品色比优美，珍贵名种齐振兴；\n" +
                "莫忘传经植艺者，神香禅味留人间。");
        gb272.setFlagId(12);
        gb272.setPrice(365);
        gb272.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/hongcha%402x.png");
        gb272.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/hongchaD%402x.png");
        BaseApplication.getDbManager().save(gb272);

        //红茶
        GoodsBean gb273 = new GoodsBean();
        gb273.setGoodsId(272);
        gb273.setName("安溪浓香发酵红茶250g");
        gb273.setShopId(3);
        gb273.setContent("安溪奇茗铁观音，敬饮一杯情意深；\n" +
                "心性修身养俭德，侨乡茶地结良缘。\n" +
                "乌龙品色比优美，珍贵名种齐振兴；\n" +
                "莫忘传经植艺者，神香禅味留人间。");
        gb273.setFlagId(12);
        gb273.setPrice(335);
        gb273.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/hongcha%402x.png");
        gb273.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/hongchaD%402x.png");
        BaseApplication.getDbManager().save(gb273);

        //红茶
        GoodsBean gb274 = new GoodsBean();
        gb274.setGoodsId(274);
        gb274.setName("安溪浓香发酵红茶250g");
        gb274.setShopId(4);
        gb274.setContent("安溪奇茗铁观音，敬饮一杯情意深；\n" +
                "心性修身养俭德，侨乡茶地结良缘。\n" +
                "乌龙品色比优美，珍贵名种齐振兴；\n" +
                "莫忘传经植艺者，神香禅味留人间。");
        gb274.setFlagId(12);
        gb274.setPrice(364);
        gb274.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/hongcha%402x.png");
        gb274.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/hongchaD%402x.png");
        BaseApplication.getDbManager().save(gb274);
        //苦瓜茶
        GoodsBean gb28 = new GoodsBean();
        gb28.setGoodsId(28);
        gb28.setName("安溪清爽苦瓜茶250g");
        gb28.setShopId(6);
        gb28.setContent("“三行情书”红螺寺的祈福短信：情起；\n" +
                "铁观音的茶香浸透茶杯：情深；\n" +
                "归期至，似箭弦，心如麻：情别。");
        gb28.setFlagId(13);
        gb28.setPrice(324);
        gb28.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/kugua%402x.png");
        gb28.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/kuguaD%402x.png");
        BaseApplication.getDbManager().save(gb28);
        //苦瓜茶
        GoodsBean gb281 = new GoodsBean();
        gb281.setGoodsId(281);
        gb281.setName("安溪清爽苦瓜茶250g");
        gb281.setShopId(2);
        gb281.setContent("“三行情书”红螺寺的祈福短信：情起；\n" +
                "铁观音的茶香浸透茶杯：情深；\n" +
                "归期至，似箭弦，心如麻：情别。");
        gb281.setFlagId(13);
        gb281.setPrice(350);
        gb281.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/kugua%402x.png");
        gb281.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/kuguaD%402x.png");
        BaseApplication.getDbManager().save(gb281);
        //苦瓜茶
        GoodsBean gb282 = new GoodsBean();
        gb282.setGoodsId(282);
        gb282.setName("安溪清爽苦瓜茶250g");
        gb282.setShopId(6);
        gb282.setContent("“三行情书”红螺寺的祈福短信：情起；\n" +
                "铁观音的茶香浸透茶杯：情深；\n" +
                "归期至，似箭弦，心如麻：情别。");
        gb282.setFlagId(13);
        gb282.setPrice(310);
        gb282.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/kugua%402x.png");
        gb282.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/kuguaD%402x.png");
        BaseApplication.getDbManager().save(gb282);
        //苦瓜茶
        GoodsBean gb283 = new GoodsBean();
        gb283.setGoodsId(283);
        gb283.setName("安溪清爽苦瓜茶250g");
        gb283.setShopId(4);
        gb283.setContent("“三行情书”红螺寺的祈福短信：情起；\n" +
                "铁观音的茶香浸透茶杯：情深；\n" +
                "归期至，似箭弦，心如麻：情别。");
        gb283.setFlagId(13);
        gb283.setPrice(310);
        gb283.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/kugua%402x.png");
        gb283.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/kuguaD%402x.png");
        BaseApplication.getDbManager().save(gb283);
        //苦瓜茶
        GoodsBean gb284 = new GoodsBean();
        gb284.setGoodsId(284);
        gb284.setName("安溪清爽苦瓜茶250g");
        gb284.setShopId(3);
        gb284.setContent("“三行情书”红螺寺的祈福短信：情起；\n" +
                "铁观音的茶香浸透茶杯：情深；\n" +
                "归期至，似箭弦，心如麻：情别。");
        gb284.setFlagId(13);
        gb284.setPrice(376);
        gb284.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/kugua%402x.png");
        gb284.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/kuguaD%402x.png");
        BaseApplication.getDbManager().save(gb284);
        //陈年老茶
        GoodsBean gb29 = new GoodsBean();
        gb29.setGoodsId(29);
        gb29.setName("安溪浓香陈年老茶250g");
        gb29.setShopId(7);
        gb29.setContent("七泡余香铁观音，\n" +
                "婷袅佳人扶古琴；\n" +
                "茗阳亭内八方客，\n" +
                "千年古韵沁人心。");
        gb29.setFlagId(14);
        gb29.setPrice(360);
        gb29.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/laocha%402x.png");
        gb29.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/laochaD%402x.png");
        BaseApplication.getDbManager().save(gb29);
        //陈年老茶
        GoodsBean gb291 = new GoodsBean();
        gb291.setGoodsId(291);
        gb291.setName("安溪浓香陈年老茶250g");
        gb291.setShopId(6);
        gb291.setContent("七泡余香铁观音，\n" +
                "婷袅佳人扶古琴；\n" +
                "茗阳亭内八方客，\n" +
                "千年古韵沁人心。");
        gb291.setFlagId(14);
        gb291.setPrice(362);
        gb291.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/laocha%402x.png");
        gb291.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/laochaD%402x.png");
        BaseApplication.getDbManager().save(gb291);
        //陈年老茶
        GoodsBean gb292 = new GoodsBean();
        gb292.setGoodsId(292);
        gb292.setName("安溪浓香陈年老茶250g");
        gb292.setShopId(3);
        gb292.setContent("七泡余香铁观音，\n" +
                "婷袅佳人扶古琴；\n" +
                "茗阳亭内八方客，\n" +
                "千年古韵沁人心。");
        gb292.setFlagId(14);
        gb292.setPrice(320);
        gb292.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/laocha%402x.png");
        gb292.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/laochaD%402x.png");
        BaseApplication.getDbManager().save(gb292);
        //陈年老茶
        GoodsBean gb293 = new GoodsBean();
        gb293.setGoodsId(293);
        gb293.setName("安溪浓香陈年老茶250g");
        gb293.setShopId(2);
        gb293.setContent("七泡余香铁观音，\n" +
                "婷袅佳人扶古琴；\n" +
                "茗阳亭内八方客，\n" +
                "千年古韵沁人心。");
        gb293.setFlagId(14);
        gb293.setPrice(380);
        gb293.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/laocha%402x.png");
        gb293.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/laochaD%402x.png");
        BaseApplication.getDbManager().save(gb293);
        //陈年老茶
        GoodsBean gb294 = new GoodsBean();
        gb294.setGoodsId(294);
        gb294.setName("安溪浓香陈年老茶250g");
        gb294.setShopId(1);
        gb294.setContent("七泡余香铁观音，\n" +
                "婷袅佳人扶古琴；\n" +
                "茗阳亭内八方客，\n" +
                "千年古韵沁人心。");
        gb294.setFlagId(14);
        gb294.setPrice(365);
        gb294.setImg_head("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/laocha%402x.png");
        gb294.setImg_content("http://imagelcf.oss-cn-shanghai.aliyuncs.com/teashop/goods/%E8%8C%B6/laochaD%402x.png");
        BaseApplication.getDbManager().save(gb294);


    }
}
